// vk.com - task 5
// Dictionary lookup
// lookup.h

#ifndef UNIT_LOOKUP
#define UNIT_LOOKUP

#define MAX_BUFFER_SIZE (4 * 1024 * 1024) // 4Mb

void Lookup_SetDictFilename(const char *dict_name);

void Lookup_SetSubstring(const char *subs);

void Lookup_SetBlockSize(const unsigned long bsize);

char Lookup_IsSuccessful(void);

void Lookup_Reset(void);

void *Lookup_Thread(void *arg);

#endif

